package online.longzipeng.cinemasys.service.impl;

import online.longzipeng.cinemasys.entity.Seat;
import online.longzipeng.cinemasys.mapper.SeatMapper;
import online.longzipeng.cinemasys.service.SeatService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import online.longzipeng.cinemasys.vo.seat.SeatSaveVO;
import online.longzipeng.cinemasys.vo.seat.SeatUpdateVO;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author lzp
 * @since 2021-04-09
 */
@Service
public class SeatServiceImpl extends ServiceImpl<SeatMapper, Seat> implements SeatService {

    @Override
    public void add(Seat seat) {
        save(seat);
    }

    @Override
    public void updateSeat(Seat seat) {
        updateById(seat);
    }
}
